package b3.widget.home.social
{
	import b3.net.*;
	import b3.widget.*;
	import b3.widget.basic.*;
	
	import flash.display.*;
	import flash.events.*;

	public class SocialIcon extends BasicIcon
	{
		public function SocialIcon()
		{
			var IconImg:Class = ResourceHelper.getInstance().getClassByName("SocialIcon");
			super(IconImg);
			this.addEventListener(MouseEvent.CLICK, onMouseClick);
		}
		
		private function onMouseClick(event:Event):void
		{
			var sid:SocialInfoDialog = new SocialInfoDialog();
			WidgetManager.getInstance().popOut([sid], true);
		}
		
	}
}